#ifndef PCA_PAGE_H
#define PCA_PAGE_H

#include <QWidget>
#include <QtGui>
#include <vector>

class PCAPage : public QWidget{
	Q_OBJECT

    public:
        PCAPage(std::vector<QString>, QWidget *parent = 0);

        int getImage();
        int getType();
        int getLambda();

    signals:
        void done();

    private slots:
        void changeImage(int);
        void changeLambda(int);
        void changeTypeX(bool);
        void changeTypeY(bool);
        void changeTypeReconstructed(bool);
        void changeTypeDifferenceReconstructed(bool);
        void changeTypeDifferenceY(bool);

    private:
        QComboBox *lambdaComboBox;
        QLabel *lambdaLabel;

        int lambda;
        int image;
        int type;
        bool multipleImages;
};

#endif

